

package com.loong.loong.daemon.elastic;

import com.loong.loong.common.feign.annotation.EnableLoongFeignClients;
import com.loong.loong.common.job.annotation.EnableLoongXxlJob;
import com.loong.loong.common.security.annotation.EnableLoongResourceServer;
import com.loong.loong.common.swagger.annotation.EnableLoongSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author ztc
 * @date 2018/7/24 分布式任务调度模块
 */
@EnableLoongXxlJob
@EnableLoongSwagger2
@EnableLoongFeignClients
@EnableLoongResourceServer
@EnableDiscoveryClient
@SpringBootApplication
public class LoongDaemonElasticJobApplication {

	public static void main(String[] args) {
		SpringApplication.run(LoongDaemonElasticJobApplication.class, args);
	}

}
